#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int array[5] = { 1,2,3,4,5 };
	printf("array[2]=%d\n", array[2]);
	printf("*(array+2)=%d\n", *(array + 2));
	putchar('\n');

	int* p = array;
	printf("p[2]=%d\n", p[2]);
	printf("*(p+2)=%d\n", *(p + 2));
	putchar('\n');

	int(*p1)[5];
	p1 = array;
	printf("(*p1)[2]=%d\n", (*p1)[2]);
	printf("p1[0][2]=%d\n", p1[0][2]);
	return 0;
}